Skip to content

fix: whitespace-only change #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 12, 2025
Merged

fix: whitespace-only change #230

merged 4 commits into from
Mar 12, 2025

Conversation

psteinroe
Copy link
Collaborator

fixes an issue where a whitespace-only change within a single statement was not chaining the range of the affected statement, only the ranges of the statements that are after the end of the affected one.

@@ -648,6 +643,83 @@ mod tests {
assert_document_integrity(&d);
}

#[test]
fn within_statements_2() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test was failing before my fix because of document integrity

@psteinroe psteinroe changed the base branch from fix/schema-cache to main March 12, 2025 06:57
@psteinroe psteinroe merged commit 3c9dcf0 into main Mar 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants